<?php
echo 'begin test';

include_once 'viper/autoloader.php';

//include_once 'viper/dao.php';
//include_once 'viper/server/autoregistration.php';
//include_once 'viper/client/user.php';

viper_server_autoregistration::mass_autoregister();

$user1 = new viper_client_user(2);
var_dump($user1);

var_dump($user1->getFeatureScores());
var_dump($user1->getFriends());
var_dump($user1->getRecommendedFeatureList());
var_dump($user1->getRecommendedFeatureScores());

$a = array();
		for($i=0;$i<50;$i++){
			$a['feature'.$i] = 11;
		}
		
		//$user1->setFeatureScores($a);
		
		var_dump($user1);


echo ' end';
?>